<script lang="ts" setup>
import { useRouter } from "vue-router"
import List from "./components/List.vue"

const router = useRouter()
function handleClick() {
  const { href } = router.resolve({
    path: `/imagesDesign`
  })
  window.open(`${href}/123`, "_blank")
}
</script>

<template>
  <div class="dashboard">
    <List @click="handleClick" />
  </div>
</template>

<style lang="scss" scoped>
.dashboard {
  padding: 6px 10px;
}
</style>
